<?php if (!defined('THINK_PATH')) exit(); ?>
<?php require "./" . APP_NAME . "/Public/fckeditor/fckeditor.php"; ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<LINK href="<?php echo BASE_DIR; ?>top/admincp.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3268" name=GENERATOR>
</HEAD>
<BODY topMargin=10>
<DIV id=append_parent></DIV>
<TABLE cellSpacing=6 cellPadding=2 width="100%" border=0>
  <TBODY>
  <TR>
    <TD>
      <TABLE class=guide cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD>常用模块&nbsp;»&nbsp;文章模块&nbsp;»&nbsp;修改文章</TD>
        </TR></TBODY></TABLE><BR>
      <FORM id=settings name=settings action='' method=post>
        <TABLE class=tableborder cellSpacing=0 cellPadding=0 width="100%" 
border=0>
        <TBODY>
        <TR class=header>
          <TD colSpan=2>修改文章<IMG 
            id=menuimg_b8e6f4fa493903c4 
            style="MARGIN-TOP: -12px; FLOAT: right; MARGIN-RIGHT: 8px" 
            src="<?php echo BASE_DIR; ?>top/menu_reduce.gif" border=0> </TD></TR>
        <TBODY id=menu_b8e6f4fa493903c4>
        <TR>
          <TD class=altbg1 width="31%"><B>所属分类:</B><BR>
            <SPAN 
            class=smalltxt>文章所属分类</SPAN></TD>
          <TD width="69%" class=altbg2><select name="cid" id="cid">
            <option value="<?php echo $Article['cid']; ?>">不修改 [<?php echo $Article['cid']; ?>]</option>
			<?php foreach($Class as $C): ?>
			<option value="<?php echo $C['cid']; ?>">┣ <?php echo $C['name']; ?> ┫</option>
			<?php endforeach; ?>
          </select>
            <input name="article_id" type="hidden" id="article_id" value="<?php echo $Article['article_id']; ?>"></TD>
        </TR>
        <TR>
          <TD class=altbg1 width="31%"><B>置顶:</B><BR>
            <SPAN 
            class=smalltxt>将文章置顶到所有文章顶部</SPAN></TD>
          <TD class=altbg2><select name="article_top" id="article_top">
		  <option value="<?php echo $Article['article_top']; ?>"><?php echo $Article['article_top']; ?></option>
            <option value="N">默认 - 不置顶</option>
            <option value="Y">置顶</option>
          </select>          </TD>
        </TR>
        <TR>
          <TD width="31%" valign="top" class=altbg1><B>文章核心提示:</B><BR>
            <SPAN 
            class=smalltxt>文章的核心内容导读</SPAN></TD>
          <TD class=altbg2>
		  <TEXTAREA id=article_core name=article_core rows=6 cols=50><?php echo $Article['article_core']; ?></TEXTAREA></TD>
        </TR>
        <TR>
          <TD class=altbg1 width="31%"><B>文章作者:</B><BR>
            <SPAN 
            class=smalltxt>最大输入字符长度45个</SPAN></TD>
          <TD class=altbg2><INPUT 
            name=article_author id="article_author" size=50 value="<?php echo $Article['article_author']; ?>"> </TD></TR>
        <TR>
          <TD class=altbg1 width="31%"><B>文章来源:</B><BR>
            转载？原创？</TD>
          <TD class=altbg2><INPUT name=article_form id="article_form" size=50 value="<?php echo $Article['article_form']; ?>"> </TD></TR>
        <TR>
          <TD class=altbg1 width="31%"><B>文章标题:</B><BR>
            <SPAN 
            class=smalltxt>最大输入字符200个</SPAN></TD>
          <TD class=altbg2><INPUT name=title id="title" size=50 value="<?php echo $Article['title']; ?>"></TD></TR>
        <TR>
          <TD class=altbg1 vAlign=top width="31%"><B>文章内容:</B><BR>
            <SPAN 
            class=smalltxt>文章内容</SPAN></TD>
          <TD class=altbg2>
<?php
$oFCKeditor = new FCKeditor('content');
$oFCKeditor->BasePath = "/" . APP_NAME . "/Public/fckeditor/";
$oFCKeditor->Value = $Article['content'];
$oFCKeditor->Height='500px';
$oFCKeditor->Create();
?>
		  </TD></TR></TBODY></TABLE>
        <BR>
      <CENTER>
        <INPUT name=Submit type=submit class=button id="Submit" value="确 认 提 交">
      </CENTER></FORM></TD></TR></TBODY></TABLE><BR><BR>
<DIV class=footer>
<HR width="80%" color=#9db3c5 noShade SIZE=0>
Powered by <A style="COLOR: #666" href="http://www.ThankPHP.com/" 
target=_blank><B>ThankPHP!</B> 0.1.0</A> &nbsp;© 2009-2010, <B><A 
style="COLOR: #666" href="http://www.ThankPHP.com/" target=_blank>ThankPHP 
Inc.</A></B><SPAN class=smalltxt></SPAN></DIV>
</BODY></HTML>
